home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1998 November / Freeware November 1998.img / dist / fw_lynx.idb / usr / freeware / lib / lynx-2.8 / lynx.cfg.z / lynx.cfg
Text File  |  1998-05-21  |  81KB  |  1,764 lines

  1. # lynx.cfg file.
  2. # The default placement for this file is /usr/local/lib/lynx.cfg (Unix)
  3. #                                     or Lynx_Dir:lynx.cfg (VMS)
  4. #
  5. # Definition pairs are of the form  VARIABLE:DEFINITION
  6. # NO spaces are allowed between the pair items.
  7. #
  8. #  If you do not have access to /usr/local/bin you may change
  9. #  the default location of this file in the userdefs.h file and recompile,
  10. #  or specify it's location on the command line with the "-cfg"
  11. #  command line option.
  12. #
  13. # Items may be commented out by putting a '#' as the FIRST char of the line
  14. #
  15. # All definitions must be flush left and have NO spaces.!!!
  16. #
  17. #
  18. # STARTFILE is the default URL if none is specified on the command line
  19. # or via a WWW_HOME environment variable.
  20. # note: these files can be remote (http://www.w3.org/default.html)
  21. # or local (file://localhost/PATH_TO/FILENAME
  22. #  replace PATH_TO with the complete path to FILENAME
  23. #  use Unix SHELL syntax and include the device on VMS systems)
  24. #
  25. #STARTFILE:http://lynx.browser.org/
  26. STARTFILE:file://localhost/usr/freeware/lib/lynx-2.8/lynx_help/about_lynx.html
  27.  
  28. # HELPFILE must be defined as a URL and must have a
  29. # complete path if local:
  30. # file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  31. #   Replace PATH_TO with the path to the lynx_help subdirectory
  32. #   for this distribution (use SHELL syntax including the device
  33. #   on VMS systems).
  34. # The default HELPFILE is:
  35. # http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  36. #   This should be changed to the local path.
  37. #
  38. #HELPFILE:http://www.crl.com/~subir/lynx/lynx_help/lynx_help_main.html
  39. #HELPFILE:file://localhost/PATH_TO/lynx_help/lynx_help_main.html
  40. HELPFILE:file://localhost/usr/freeware/lib/lynx-2.8/lynx_help/lynx_help_main.html
  41.  
  42. # DEFAULT_INDEX_FILE is the default file retrieved when the
  43. # user presses the 'I' key when viewing any document.
  44. # An index to your CWIS can be placed here or a document containing
  45. # pointers to lots of interesting places on the web.
  46. #
  47. DEFAULT_INDEX_FILE:http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/MetaIndex.html
  48.  
  49. # Set GOTOBUFFER to TRUE if you want to have the previous goto URL,
  50. # if any, offered for reuse or editing when using the 'g'oto command.
  51. # The default is defined in userdefs.h.  If left FALSE, the circular
  52. # buffer of previously entered goto URLs can still be invoked via the
  53. # Up-Arrow or Down-Arrow keys after entering the 'g'oto command.
  54. #
  55. #GOTOBUFFER:FALSE
  56.  
  57. # JUMP_PROMPT is the default statusline prompt for jumps files (see below).
  58. # You can change the prompt here from that defined in userdefs.h.  Any
  59. # trailing white space will be trimmed, and a single space added by Lynx
  60. # following the last non-white character.  You must set the default prompt
  61. # before setting the default jumps file (below). If a default jumps file
  62. # was set via userdefs.h, and you change the prompt here, you must set the
  63. # default jumps file again (below) for the change to be implemented.
  64. #
  65. #JUMP_PROMPT:Jump to (use '?' for list):
  66.  
  67. # JUMPFILE is the default local file checked for shortcut URL's when
  68. # the user presses the 'J' (JUMP) key.  The user will be prompted for
  69. # a shortcut entry (analogously to 'g'oto), and can enter one
  70. # or use '?' for a list of the shortcuts with associated links to
  71. # their actual URL's.  See the sample jumps files in the samples
  72. # subdirectory.  Make sure your jumps file includes a '?' shortcut
  73. # for a file://localhost URL to itself:
  74. #
  75. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  76. #
  77. # If not defined here or in userdefs.h, the JUMP command will invoke
  78. # the NO_JUMPFILE statusline message (see userdefs.h).
  79. #
  80. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  81. #
  82. # Do not include "file://localhost" in the definition.
  83. #
  84. # Additional, alternate jumps files can be defined and mapped to
  85. # keystrokes at the bottom of lynx.cfg, but you should first define
  86. # the default jumps file (mapped by default to 'J', and to 'j' when
  87. # the "VI keys" 'o'ption is not ON) here or in userdefs.h, if you
  88. # wish to implement the jumps mechanism.
  89. #
  90. #JUMPFILE:/Lynx_Dir/jumps.html
  91.  
  92. # Set JUMPBUFFER to TRUE if you want to have the previous jump target,
  93. # if any, offered for reuse or editing when using the 'J'ump command.
  94. # The default is defined in userdefs.h.  If left FALSE, the circular
  95. # buffer of previously entered targets (shortcuts) can still be invoked
  96. # via the Up-Arrow or Down-Arrow keys after entering the 'J'ump command.
  97. # If multiple jumps files are installed, the recalls of shortcuts will
  98. # be specific to each file.  If Lynx was built with PERMIT_GOTO_FROM_JUMP
  99. # defined, any random URLs used instead of shortcuts will be stored in the
  100. # goto URL buffer, not in the shortcuts buffer(s), and the single character
  101. # ':' can be used as a target to invoke the goto URL buffer (as if 'g'oto
  102. # followed by Up-Arrow had been entered).
  103. #
  104. #JUMPBUFFER:FALSE
  105.  
  106. # If SAVE_SPACE is defined, it will be used as a path prefix for the
  107. # suggested filename in "Save to Disk" operations from the 'p'rint or
  108. # 'd'ownload menus.  On VMS, you can use either VMS (e.g., "SYS$LOGIN:")
  109. # or Unix syntax (including '~' for the HOME directory).  On Unix, you
  110. # must use Unix syntax.  If the symbol is not defined, or is zero-length
  111. # (""), no prefix will be used, and only a filename for saving in the
  112. # current default directory will be suggested.
  113. # This definition will be overridden if a "LYNX_SAVE_SPACE" environment
  114. # variable has been set on Unix, or logical has been defined on VMS.
  115. #
  116. #SAVE_SPACE:~/foo/
  117.  
  118. # If LYNX_HOST_NAME is defined here or in userdefs.h, it will be
  119. # treated as an alias for the local host name in checks for URLs on
  120. # the local host (e.g., when the -localhost switch is set), and this
  121. # host name, "localhost", and HTHostName (the fully qualified domain
  122. # name of the system on which Lynx is running) will all be passed as
  123. # local.  A different definition here will override that in userdefs.h.
  124. #
  125. #LYNX_HOST_NAME:www.cc.ukans.edu
  126.  
  127. # localhost aliases
  128. # Any LOCALHOST_ALIAS definitions also will be accepted as local when
  129. # the -localhost switch is set.  These need not actually be local, i.e.,
  130. # in contrast to LYNX_HOST_NAME, you can define them to trusted hosts at
  131. # other Internet sites.
  132. #
  133. #LOCALHOST_ALIAS:gopher.server.domain
  134. #LOCALHOST_ALIAS:news.server.domain
  135.  
  136. # LOCAL_DOMAIN is used for a tail match with the ut_host element of
  137. # the utmp or utmpx structure on systems with utmp capabilities, to
  138. # determine if a user is local to your campus or organization when
  139. # handling -restrictions=inside_foo or outside_foo settings for ftp,
  140. # news, telnet/tn3270 and rlogin URLs.  An "inside" user is assumed
  141. # if your system does not have utmp capabilities.  CHANGE THIS here
  142. # if it was not changed in userdefs.h at compilation time.
  143. #
  144. #LOCAL_DOMAIN:ukans.edu
  145.  
  146. # CHARACTER_SET defines the default character set, i.e., that assumed
  147. # to be installed on the user's terminal.  It determines which characters
  148. # or strings will be used to represent 8-bit character entities within
  149. # HTML.  New character sets may be defined as explained in the README
  150. # files of the src/chrtrans directory in the Lynx source code distribution.
  151. # For Asian (CJK) character sets, it also determines how Kanji code will
  152. # be handled.  The default is defined in userdefs.h and can be changed
  153. # here, and via the 'o'ptions menu.  The 'o'ptions menu setting will be
  154. # stored in the user's RC file whenever those settings are saved, and
  155. # thereafter will be used as the default.  For Lynx a "character set" has
  156. # two names: a Display Character Set string for the Options screen and
  157. # for setting CHARACTER_SET here, and a corresponding MIME name (for
  158. # recognizing properly labelled charset parameters in HTTP headers etc.).
  159. # Not all Display Character Set names correspond to exactly one valid MIME
  160. # charset (for example "Chinese", "Transparent"), in that case
  161. # an appropriate valid (and more specific) MIME name should be used
  162. # where required.  The actions of the -raw switch and LYK_RAW_TOGGLE ('@')
  163. # are dependent on the character set.  For the Asian (CJK) sets the
  164. # corresponding charset is assumed in documents, i.e., raw or CJK mode is
  165. # ON by default, so that -raw or the initial LYK_RAW_TOGGLE will turn the
  166. # mode OFF.  The toggling also can be done via the 'o'ptions menu.  In raw
  167. # CJK mode, 8-bit characters are not reverse translated in relation to the
  168. # entity conversion arrays, i.e., they are assumed to be appropriate for
  169. # the current character set.  It should be toggled OFF when an Asian (CJK)
  170. # character set is selected but the document is not CJK.
  171. # The default for "raw mode" (before it is changed by -raw or LYK_RAW_TOGGLE),
  172. # if the display character set is not a CJK character set, depends on the
  173. # display character set as well as the ASSUME_CHARSET value (see below) from
  174. # either this file or an -assume_charset command line option.  The mode
  175. # defaults to ON if the ASSUME_CHARSET value corresponds to the display
  176. # character set, otherwise to OFF.
  177. # It can be toggled ON if you believe the document has a charset which does
  178. # correspond to your Display Character Set, but was not detected to have
  179. # that charset and was handled as having the default charset (normally
  180. # iso-8859-1).  You also can specify the default charset (to one other
  181. # than iso-8859-1) via the ASSUME_CHARSET value (see below) from either
  182. # this file or an -assume_charset command line option.  Note that "raw"
  183. # does not mean that every byte will be passed to the screen.  HTML
  184. # character entities may get expanded and translated, inappropriate control
  185. # characters filtered out, etc.  Raw mode effectively changes the charset
  186. # assumption about unlabelled documents. There is a "Transparent" pseudo
  187. # character set for more "rawness".
  188. #
  189. # The default character sets include:
  190. #    Display Character Set name        MIME name
  191. #    ==========================        =========
  192. #    7 bit approximations        us-ascii
  193. #    Chinese                euc-cn
  194. #    DEC Multinational            dec-mcs
  195. #    DosArabic (cp864)            cp864
  196. #    DosBaltRim (cp775)         cp775
  197. #    DosCyrillic (cp866)        cp866
  198. #    DosGreek (cp737)            cp737
  199. #    DosGreek2 (cp869)            cp869
  200. #    DosHebrew (cp862)            cp862
  201. #    DosLatin1 (cp850)            cp850
  202. #    DosLatin2 (cp852)            cp852
  203. #    DosLatinUS (cp437)         cp437
  204. #    ISO 8859-10            iso-8859-10
  205. #    ISO 8859-5 Cyrillic        iso-8859-5
  206. #    ISO 8859-6 Arabic            iso-8859-6
  207. #    ISO 8859-7 Greek            iso-8859-7
  208. #    ISO 8859-8 Hebrew            iso-8859-8
  209. #    ISO 8859-9 (Latin 5)        iso-8859-9
  210. #    ISO Latin 1            iso-8859-1
  211. #    ISO Latin 2            iso-8859-2
  212. #    ISO Latin 3            iso-8859-3
  213. #    ISO Latin 4            iso-8859-4
  214. #    Japanese (EUC)            euc-jp
  215. #    Japanese (SJIS)            shift_jis
  216. #    KOI8-R Cyrillic            koi8-r
  217. #    Korean                euc-kr
  218. #    Macintosh (8 bit)            macintosh
  219. #    NeXT character set         next
  220. #    RFC 1345 Mnemonic            mnemonic
  221. #    RFC 1345 w/o Intro         mnemonic+ascii+0
  222. #    Taipei (Big5)            big5
  223. #    Transparent            x-transparent
  224. #    UNICODE UTF 8            utf-8
  225. #    Vietnamese (VISCII)        viscii
  226. #    WinArabic (cp1256)         windows-1256
  227. #    WinBaltRim (cp1257)        windows-1257
  228. #    WinCyrillic (cp1251)        windows-1251
  229. #    WinGreek (cp1253)            windows-1253
  230. #    WinHebrew (cp1255)         windows-1255
  231. #    WinLatin1 (cp1252)         windows-1252
  232. #    WinLatin2 (cp1250)         windows-1250
  233. #
  234. CHARACTER_SET:ISO Latin 1
  235.  
  236. # ASSUME_CHARSET changes the handling of documents which do not
  237. # explicitly specify a charset.  Normally Lynx assumes that 8-bit
  238. # characters in those documents are encoded according to iso-8859-1
  239. # (the official default for the HTTP protocol).  When ASSUME_CHARSET
  240. # given here or by an -assume_charset command line flag is in effect,
  241. # Lynx will treat documents as if they were encoded accordingly.
  242. # See above on how this interacts with "raw mode" and the Display
  243. # Character Set.
  244. # The value should be the MIME name of a character set recognized by
  245. # Lynx (case insensitive).
  246. #
  247. #ASSUME_CHARSET:iso-8859-1
  248.  
  249. # ASSUME_LOCAL_CHARSET is like ASSUME_CHARSET but only applies to local
  250. # files.  If no setting is given here or by an -assume_local_charset
  251. # command line option, the value for ASSUME_CHARSET or -assume_charset
  252. # is used. It works for both text/plain and text/html files.
  253. # This option may interfere with "raw mode" toggling when local files
  254. # are viewed (it is "stronger" than the effective change of the charset
  255. # assumption caused by changing "raw mode"), so only use when necessary.
  256. #
  257. #ASSUME_LOCAL_CHARSET:iso-8859-1
  258.  
  259. # PREPEND_CHARSET_TO_SOURCE:TRUE allow prepending a META CHARSET
  260. # to text/html source files when they are retrieved for 'd'ownloading
  261. # or passed to 'p'rint functions. This is necessary for resolving charset
  262. # for local html files, while the assume_local_charset just an assumption...
  263. # For 'd'ownload option charset will be added only if HTTP charset present.
  264. # The compilation default is FALSE.
  265. # It is generally desired to have charset information for every
  266. # local html file, but META CHARSET string may cause
  267. # compatibility problems with other browsers, so
  268. # if you use all CHARACTER_SET, ASSUME_CHARSET, ASSUME_LOCAL_CHARSET
  269. # unchanged from theirs default value iso-8859-1 you usually
  270. # need not change the compilation default for PREPEND_CHARSET_TO_SOURCE.
  271. # Note that the prepending is not done for -source dumps.
  272. #
  273. #PREPEND_CHARSET_TO_SOURCE:FALSE
  274.  
  275. # If Lynx encounters a charset parameter it doesn't recognize, it will
  276. # replace the value given by ASSUME_UNREC_CHARSET (or a corresponding
  277. # -assume_unrec_charset command line option) for it.  This can be used
  278. # to deal with charsets unknown to Lynx, if they are "sufficiently
  279. # similar" to one that Lynx does know about, by forcing the same
  280. # treatment.  There is no default, and you probably should leave this
  281. # undefined unless necessary.
  282. #
  283. #ASSUME_UNREC_CHARSET:iso-8859-1
  284.  
  285. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  286. # "fr") which will be indicated by Lynx in its Accept-Language headers
  287. # as the preferred language.  If available, the document will be
  288. # transmitted in that language.  Users can override this setting via
  289. # the 'o'ptions menu and save that preference in their RC file.
  290. # This may be a comma-separated list of languages in decreasing preference.
  291. #
  292. #PREFERRED_LANGUAGE:en
  293.  
  294. # PREFERRED_CHARSET specifies the character set in MIME notation (e.g.,
  295. # "ISO-8859-2", "ISO-8859-5") which Lynx will indicate you prefer in
  296. # requests to http servers using an Accept-Charsets header. Users can
  297. # change it via the 'o'ptions menu and save that preference in their RC file.
  298. # The value should NOT include "ISO-8859-1" or "US-ASCII",
  299. # since those values are always assumed by default.
  300. # If a file in that character set is available, the server will send it.
  301. # If no Accept-Charset header is present, the default is that any
  302. # character set is acceptable. If an Accept-Charset header is present,
  303. # and if the server cannot send a response which is acceptable
  304. # according to the Accept-Charset header, then the server SHOULD send
  305. # an error response with the 406 (not acceptable) status code, though
  306. # the sending of an unacceptable response is also allowed. (RFC2068)
  307. #
  308. #PREFERRED_CHARSET:
  309.  
  310. # URL_DOMAIN_PREFIXES and URL_DOMAIN_SUFFIXES are strings which will be
  311. # prepended (together with a scheme://) and appended to the first element
  312. # of command line or 'g'oto arguments which are not complete URLs and
  313. # cannot be opened as a local file (file://localhost/string).  Both
  314. # can be comma-separated lists.  Each prefix must end with a dot, each
  315. # suffix must begin with a dot, and either may contain other dots (e.g.,
  316. # .com.jp).  The default lists are defined in userdefs.h and can be
  317. # changed here.  Each prefix will be used with each suffix, in order,
  318. # until a valid Internet host is created, based on a successful DNS
  319. # lookup (e.g., foo will be tested as www.foo.com and then www.foo.edu
  320. # etc.).  The first element can include a :port and/or /path which will
  321. # be restored with the expanded host (e.g., wfbr:8002/dir/lynx will
  322. # become http://www.wfbr.edu:8002/dir/lynx).  The prefixes will not be
  323. # used if the first element ends in a dot (or has a dot before the
  324. # :port or /path), and similarly the suffixes will not be used if the
  325. # the first element begins with a dot (e.g., .nyu.edu will become
  326. # http://www.nyu.edu without testing www.nyu.com).  Lynx will try to
  327. # guess the scheme based on the first field of the expanded host name,
  328. # and use "http://" as the default (e.g., gopher.wfbr.edu or gopher.wfbr.
  329. # will be made gopher://gopher.wfbr.edu).
  330. #
  331. #URL_DOMAIN_PREFIXES:www.
  332. #URL_DOMAIN_SUFFIXES:.com,.edu,.net,.org
  333.  
  334. # The following three definitions set the number of seconds for
  335. # pauses following statusline messages that would otherwise be
  336. # replaced immediately, and are more important than the unpaused
  337. # progress messages.  Those set by INFOSECS are also basically
  338. # progress messages (e.g., that a prompted input has been cancelled)
  339. # and should have the shortest pause.  Those set by MESSAGESECS are
  340. # informational (e.g., that a function is disabled) and should have
  341. # a pause of intermediate duration.  Those set by ALERTSECS typically
  342. # report a serious problem and should be paused long enough to read
  343. # whenever they appear (typically unexpectedly).  The default values
  344. # are defined in userdefs.h, and can be modified here should longer
  345. # pauses be desired for braille-based access to Lynx.
  346. #
  347. #INFOSECS:1
  348. #MESSAGESECS:2
  349. #ALERTSECS:3
  350.  
  351. # If USE_SELECT_POPUPS is set FALSE, Lynx will present a vertical list of
  352. # radio buttons for the OPTIONs in SELECT blocks which lack the MULTIPLE
  353. # attribute, instead of using a popup menu.  Note that if the MULTIPLE
  354. # attribute is present in the SELECT start tag, Lynx always will create a
  355. # vertical list of checkboxes for the OPTIONs.
  356. # The default defined here or in userdefs.h can be changed via the 'o'ptions
  357. # menu and saved in the RC file, and always can be toggled via the -popup
  358. # command line switch.
  359. #
  360. #USE_SELECT_POPUPS:TRUE
  361.  
  362. # SHOW_CURSOR controls whether or not the cursor is hidden or appears
  363. # over the current link in documents or the current option in popups.
  364. # Showing the cursor is handy if you are a sighted user with a poor
  365. # terminal that can't do bold and reverse video at the same time or
  366. # at all.  It also can be useful to blind users, as an alternative
  367. # or supplement to setting LINKS_AND_FORM_FIELDS_ARE_NUMBERED or
  368. # LINKS_ARE_NUMBERED.
  369. # The default defined here or in userdefs.h can be changed via the
  370. # 'o'ptions menu and saved in the RC file, and always can be toggled
  371. # via the -show_cursor command line switch.
  372. #
  373. #SHOW_CURSOR:FALSE
  374.  
  375. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be acted
  376. # upon for <H1> through <H6> headers.  The compilation default is FALSE
  377. # (only the indentation styles are acted upon, but see BOLD_H1, below).
  378. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  379. # HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  380. #
  381. #BOLD_HEADERS:FALSE
  382.  
  383. # If BOLD_H1 is set to TRUE the HT_BOLD default style will be acted
  384. # upon for <H1> headers even if BOLD_HEADERS is FALSE.  The compilation
  385. # default is FALSE.  On Unix, compilation with -DUNDERLINE_LINKS also
  386. # will apply to the HT_BOLD style for headers when BOLD_H1 is TRUE.
  387. #
  388. #BOLD_H1:FALSE
  389.  
  390. # If BOLD_NAME_ANCHORS is set to TRUE the content of anchors without
  391. # an HREF attribute, (i.e., anchors with a NAME or ID attribute) will
  392. # have the HT_BOLD default style.  The compilation default is FALSE.
  393. # On Unix, compilation with -DUNDERLINE_LINKS also will apply to the
  394. # HT_BOLD style for NAME (ID) anchors when BOLD_NAME_ANCHORS is TRUE.
  395. #
  396. #BOLD_NAME_ANCHORS:FALSE
  397.  
  398. # The DEFAULT_CACHE_SIZE specifies the number of WWW documents to be
  399. # cached in memory at one time.
  400. #
  401. # This so-called cache size (actually, number) is defined in userdefs.h and
  402. # may be modified here and/or with the command line argument -cache=NUMBER
  403. # The minimum allowed value is 2, for the current document and at least one
  404. # to fetch, and there is no absolute maximum number of cached documents.
  405. # On Unix, and VMS not compiled with VAXC, whenever the number is exceeded
  406. # the least recently displayed document will be removed from memory.
  407. #
  408. # On VMS compiled with VAXC, the DEFAULT_VIRTUAL_MEMORY_SIZE specifies the
  409. # amount (bytes) of virtual memory that can be allocated and not yet be freed
  410. # before previous documents are removed from memory.  If the values for both
  411. # the DEFAULT_CACHE_SIZE and DEFAULT_VIRTUAL_MEMORY_SIZE are exceeded, then
  412. # least recently displayed documents will be freed until one or the other
  413. # value is no longer exceeded.  The default value was defined in userdefs.h.
  414. #
  415. # The Unix and VMS but not VAXC implementations use the C library malloc's
  416. # and calloc's for memory allocation, and procedures for taking the actual
  417. # amount of cache into account still need to be developed.  They use only
  418. # the DEFAULT_CACHE_SIZE value, and that specifies the absolute maximum
  419. # number of documents to cache (rather than the maximum number only if
  420. # DEFAULT_VIRTUAL_MEMORY_SIZE has been exceeded, as with VAXC/VAX).
  421. #
  422. #DEFAULT_CACHE_SIZE:10
  423. #DEFAULT_VIRTUAL_MEMORY_SIZE:512000
  424.  
  425. # If ALWAYS_RESUBMIT_POSTS is set TRUE, Lynx always will resubmit forms
  426. # with method POST, dumping any cache from a previous submission of the
  427. # form, including when the document returned by that form is sought with
  428. # the PREV_DOC command or via the history list.  Lynx always resubmits
  429. # forms with method POST when a submit button or a submitting text input
  430. # is activated, but normally retrieves the previously returned document
  431. # if it had links which you activated, and then go back with the PREV_DOC
  432. # command or via the history list.
  433. #
  434. # The default defined here or in userdefs.h can be toggled via
  435. # the -resubmit_forms command line switch.
  436. #
  437. #ALWAYS_RESUBMIT_POSTS:FALSE
  438.  
  439. # If NO_ISMAP_IF_USEMAP is set TRUE, Lynx will not include a link to the
  440. # server-side image map if both a server-side and client-side map for the
  441. # same image is indicated in the HTML markup.  The compilation default is
  442. # FALSE, such that a link with "[ISMAP]" as the link name, followed by a
  443. # hyphen, will be prepended to the ALT string or "[USEMAP]" pseudo-ALT for
  444. # accessing Lynx's text-based rendition of the client-side map (based on
  445. # the content of the associated MAP element).  If the "[ISMAP]" link is
  446. # activated, Lynx will send a 0,0 coordinate pair to the server, which
  447. # Lynx-friendly sites can map to a for-text-client document, homologous
  448. # to what is intended for the content of a FIG element.
  449. #
  450. # The compilation default, or default defined here, can be toggled via
  451. # the "-ismap" command line switch.
  452. #
  453. #NO_ISMAP_IF_USEMAP:FALSE
  454.  
  455. # If SEEK_FRAG_MAP_IN_CUR is set FALSE, then USEMAP attribute values
  456. # (in IMG or OBJECT tags) consisting of only a fragment (USEMAP="#foo")
  457. # will be resolved with respect to the current document's base, which
  458. # might not be the same as the current document's URL.
  459. # The compilation default is to use the current document's URL in all
  460. # cases (i.e., assume the MAP is present below, if it wasn't present
  461. # above the point in the HTML stream where the USEMAP attribute was
  462. # detected).  Lynx's present "single pass" rendering engine precludes
  463. # checking below before making the decision on how to resolve a USEMAP
  464. # reference consisting solely of a fragment.
  465. #
  466. #SEEK_FRAG_MAP_IN_CUR:TRUE
  467.  
  468. # If SEEK_FRAG_AREA_IN_CUR is set FALSE, then HREF attribute values
  469. # in AREA tags consisting of only a fragment (HREF="#foo") will be
  470. # resolved with respect to the current document's base, which might
  471. # not be the same as the current document's URL.  The compilation
  472. # default is to use the current document's URL, as is done for the
  473. # HREF attribute values of Anchors and LINKs that consist solely of
  474. # a fragment.
  475. #
  476. #SEEK_FRAG_AREA_IN_CUR:TRUE
  477.  
  478. # Local execution links and scripts are completely disabled
  479. # in the source code unless they are enabled in the
  480. # userdefs.h file and the sources recompiled.  Please
  481. # see the Lynx source code distribution and the userdefs.h
  482. # file for more detail on enabling execution links and scripts.
  483. #
  484. # If you have enabled execution links or scripts the following
  485. # two variables control Lynx's action when an execution link
  486. # or script is encountered.
  487. #
  488. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  489. # link or script will be executed no matter where it came from.
  490. # This is EXTREMELY dangerous.  Since Lynx can access files from
  491. # anywhere in the world, you may encounter links or scripts that
  492. # will cause damage or compromise the security of your system.
  493. #
  494. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  495. # links or scripts that reside on the local machine and are
  496. # referenced with a URL beginning with "file://localhost/" or meet
  497. # TRUSTED_EXEC or ALWAYS_TRUSTED_EXEC rules (see below) will be
  498. # executed.  This is much less dangerous than enabling all execution
  499. # links, but can still be dangerous.
  500. #
  501. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  502. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  503.  
  504. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  505. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  506. # or lynxprog command will be permitted if it was referenced with a URL
  507. # beginning with that string.  If you wish to restrict the referencing URL's
  508. # further, you can extend the string to include a trusted path.  You also can
  509. # specify a trusted directory for http URL's, which will then be treated as
  510. # if they were local rather than remote.  For example:
  511. #
  512. #    TRUSTED_EXEC:file://localhost/trusted/
  513. #    TRUSTED_EXEC:http://www.wfbr.edu/trusted/
  514. #
  515. # If you also wish to restrict the commands which can be executed, create
  516. # a series of rules with the path (Unix) or command name (VMS) following
  517. # the string, separated by a tab.  For example:
  518. #
  519. # Unix:
  520. #    TRUSTED_EXEC:file://localhost/<tab>/bin/cp
  521. #    TRUSTED_EXEC:file://localhost/<tab>/bin/rm
  522. # VMS:
  523. #    TRUSTED_EXEC:file://localhost/<tab>copy
  524. #    TRUSTED_EXEC:file://localhost/<tab>delete
  525. #
  526. # Once you specify a TRUSTED_EXEC referencing string, the default is
  527. # replaced, and all the referencing strings you desire must be specified
  528. # as a series.  Similarly, if you associate a command with the referencing
  529. # string, you must specify all of the allowable commands as a series of
  530. # TRUSTED_EXEC rules for that string.  If you specify ALWAYS_TRUSTED_EXEC
  531. # rules below, you need not repeat them as TRUSTED_EXEC rules.
  532. #
  533. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec or lynxprog
  534. # URL's in that file will be permitted, regardless of other settings.  If
  535. # you also set LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single
  536. # TRUSTED_EXEC rule that will always fail (e.g., "none"), then *ONLY* the
  537. # lynxexec or lynxprog URL's in JUMPFILE (and any ALWAYS_TRUSTED_EXEC rules,
  538. # see below) will be allowed.  Note, however, that if Lynx was compiled with
  539. # CAN_ANONYMOUS_JUMP set to FALSE (default is TRUE), or -restrictions=jump
  540. # is included with the -anonymous switch at run time, then users of an
  541. # anonymous account will not be able to access the jumps file or enter
  542. # 'j'ump shortcuts, and this selective execution feature will be overridden
  543. # as well (i.e., they will only be able to access lynxexec or lynxprog
  544. # URLs which meet any ALWAYS_TRUSTED_EXEC rules).
  545. #
  546. #TRUSTED_EXEC:none
  547.  
  548. # If EXEC_LINKS was defined, any lynxexec or lynxprog URL can be made
  549. # always enabled by an ALWAYS_TRUSTED_EXEC rule for it.  This is useful for
  550. # anonymous accounts in which you have disabled execution links generally,
  551. # and may also have disabled jump file links, but still want to allow
  552. # execution of particular utility scripts or programs.  The format is
  553. # like that for TRUSTED_EXEC.  For example:
  554. #
  555. # Unix:
  556. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>/usr/local/kinetic/bin/usertime
  557. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>/usr/local/kinetic/bin/who.sh
  558. # VMS:
  559. #   ALWAYS_TRUSTED_EXEC:file://localhost/<tab>usertime
  560. #   ALWAYS_TRUSTED_EXEC:http://www.more.net/<tab>show users
  561. #
  562. # The default ALWAYS_TRUSTED_EXEC rule is "none".
  563. #
  564. #ALWAYS_TRUSTED_EXEC:none
  565.  
  566. # Unix:
  567. # =====
  568. # TRUSTED_LYNXCGI rules define the permitted sources and/or paths for
  569. # lynxcgi links (if LYNXCGI_LINKS is defined in userdefs.h).  The format
  570. # is the same as for TRUSTED_EXEC rules (see above), but no defaults are
  571. # defined, i.e., if no TRUSTED_LYNXCGI rules are defined here, any source
  572. # and path for lynxcgi links will be permitted.  Example rules:
  573. #
  574. #    TRUSTED_LYNXCGI:file://localhost/
  575. #     TRUSTED_LYNXCGI:<tab>/usr/local/etc/httpd/cgi-bin/
  576. #     TRUSTED_LYNXCGI:file://localhost/<tab>/usr/local/www/cgi-bin/
  577. #
  578. # VMS:
  579. # ====
  580. # Do not define this.
  581. #
  582. #TRUSTED_LYNXCGI:none
  583.  
  584. # Unix:
  585. # =====
  586. # LYNXCGI_ENVIRONMENT adds the current value of the specified
  587. # environment variable to the list of environment variables passed on to the
  588. # lynxcgi script. Useful variables are HOME, USER, EDITOR, etc...
  589. #
  590. # VMS:
  591. # ====
  592. # Do not define this.
  593. #
  594. #LYNXCGI_ENVIRONMENT:
  595.  
  596. # Unix:
  597. # =====
  598. # LYNXCGI_DOCUMENT_ROOT is the value of DOCUMENT_ROOT that will be passed
  599. # to lynxcgi scripts.  If set and the URL has PATH_INFO data, then
  600. # PATH_TRANSLATED will also be generated.  Examples:
  601. #    LYNXCGI_DOCUMENT_ROOT:/usr/local/etc/httpd/htdocs
  602. #    LYNXCGI_DOCUMENT_ROOT:/data/htdocs/
  603. #
  604. # VMS:
  605. # ====
  606. # Do not define this.
  607. #
  608. #LYNXCGI_DOCUMENT_ROOT:
  609.  
  610. # If FORCE_SSL_COOKIES_SECURE is set to TRUE, then SSL encrypted cookies
  611. # received from https servers never will be sent unencrypted to http
  612. # servers.  The compilation default is to impose this block only if the
  613. # https server included a secure attribute for the cookie.  The normal
  614. # default or that defined here can be toggled via the -force_secure
  615. # command line switch.
  616. #
  617. #FORCE_SSL_COOKIES_SECURE:FALSE
  618.  
  619. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of
  620. #  the information, or ALERTMAIL if there is no owner, every time
  621. #  that a document cannot be accessed!
  622. #
  623. #  NOTE: This can generate A LOT of mail, be warned.
  624. #
  625. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  626.  
  627. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  628. # message) about the existence of any unread mail at startup of Lynx, and
  629. # will get statusline messages if subsequent new mail arrives.  If a jumps
  630. # file with a lynxprog URL for invoking mail is available, or your html
  631. # pages include an mail launch file URL, the user thereby can access mail
  632. # and read the messages.  The checks and statusline reports will not be
  633. # performed if Lynx has been invoked with the -restrictions=mail switch.
  634. #
  635. #  VMS USERS !!!
  636. # New mail is normally broadcast as it arrives, via "unsolicited screen
  637. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  638. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  639. # instead (e.g., in a public account which will be used by people who
  640. # are ignorant about VMS).
  641. #
  642. CHECKMAIL:FALSE
  643.  
  644. # To enable news reading ability via Lynx, the environment variable NNTPSERVER
  645. # must be set so that it points to your site's NNTP server (see INSTALLATION).
  646. # Lynx respects RFC 1738 (http://www.ics.uci.edu/pub/ietf/uri/rfc1738.txt) and
  647. # and does not accept a host field in news URLs (use nntp: instead news: for
  648. # the scheme if you wish to specify an NNTP host in a URL, as explained in the
  649. # RFC).  If you have not set the variable externally, you can set it at run
  650. # time via this configuration file.  It will not override an external setting.
  651. # Note that on VMS it is set as a process logical rather than symbol, and will
  652. # outlive the Lynx image.
  653. #
  654. #NNTPSERVER:news.server.dom
  655.  
  656. # If LIST_NEWS_NUMBERS is set TRUE, Lynx will use an ordered list and include
  657. # the numbers of articles in news listings, instead of using an unordered
  658. # list.  The default is defined in userdefs.h, and can be overridden here.
  659. #
  660. #LIST_NEWS_NUMBERS:FALSE
  661.  
  662. # If LIST_NEWS_DATES is set TRUE, Lynx will include the dates of articles in
  663. # news listings.  The dates always are included in the articles, themselves.
  664. # The default is defined in userdefs.h, and can be overridden here.
  665. #
  666. #LIST_NEWS_DATES:FALSE
  667.  
  668. # NEWS_CHUNK_SIZE and NEWS_MAX_CHUNK regulate the chunking of news article
  669. # listings with inclusion of links for listing earlier and/or later articles.
  670. # The defaults are defined in HTNews.c as 30 and 40, respectively.  If the
  671. # news group contains more than NEWS_MAX_CHUNK articles, they will be listed
  672. # in NEWS_CHUNK_SIZE chunks.  You can change the defaults here, and/or on
  673. # the command line via -newschunksize=NUMBER and/or -newsmaxchunk=NUMBER
  674. # switches.  Note that if the chunk size is increased, here or on the command
  675. # line, to a value greater than the current maximum, the maximum will be
  676. # increased to that number.  Conversely, if the maximum is set to a number
  677. # less than the current chunk size, the chunk size will be reduced to that
  678. # number.  Thus, you need use only one of the two switches on the command
  679. # line, based on the direction of intended change relative to the compilation
  680. # or configuration defaults.  The compilation defaults ensure that there will
  681. # be at least 10 earlier articles before bothering to chunk and create a link
  682. # for earlier articles.
  683. #
  684. #NEWS_CHUNK_SIZE:30
  685. #NEWS_MAX_CHUNK:40
  686.  
  687. # Set NEWS_POSTING to FALSE if you do not want to support posting to
  688. # news groups via Lynx.  If left TRUE, Lynx will use its news gateway to
  689. # post new messages or followups to news groups, using the URL schemes
  690. # described in the "Supported URL" section of the online 'h'elp.  The
  691. # posts will be attempted via the nntp server specified in the URL, or
  692. # if none was specified, via the NNTPSERVER configuration or environment
  693. # variable.  Links with these URLs for posting or sending followups are
  694. # created by the news gateway when reading group listings or articles
  695. # from nntp servers if the server indicates that it permits posting.
  696. # The compilation default set in userdefs.h can be changed here.  If
  697. # the default is TRUE, posting can still be disallowed via the
  698. # -restrictions command line switch.
  699. #
  700. #NEWS_POSTING:TRUE
  701.  
  702. # LYNX_SIG_FILE defines the name of a file containing a signature which
  703. # can be appended to email messages and news postings or followups.  The
  704. # user will be prompted whether to append it.  It is sought in the home
  705. # directory.  If it is in a subdirectory, begin it with a dot-slash
  706. # (e.g., ./lynx/.lynxsig).  The definition is set in userdefs.h and can
  707. # be changed here.
  708. #
  709. #LYNX_SIG_FILE:.lynxsig
  710.  
  711. # If USE_MOUSE is set TRUE, Lynx (when configured with ncurses) will allow
  712. # the user to click with button-1 on links to select them.
  713. #USE_MOUSE: FALSE
  714.  
  715. # If COLLAPSE_BR_TAGS is set FALSE, Lynx will not collapse serial BR tags.
  716. # Note that the valid way to insert extra blank lines in HTML is via a PRE
  717. # block with only newlines in the block.
  718. # The default is defined in userdefs.h, and can be overridden here.
  719. #
  720. #COLLAPSE_BR_TAGS:TRUE
  721.  
  722. # If SET_COOKIES is set FALSE, Lynx will ignore Set-Cookie headers
  723. # in http server replies.
  724. # The default is defined in userdefs.h, and can be overridden here,
  725. # and/or toggled via the -cookies command line switch.
  726. #
  727. #SET_COOKIES:TRUE
  728.  
  729. # VMS:
  730. #=====
  731. # The mail command and qualifiers are defined in userdefs.h.  Lynx
  732. # will spawn a subprocess to send replies and error messages.  The
  733. # command, and qualifiers (if any), can be re-defined here.  If
  734. # you use PMDF then headers will we passed via a header file.
  735. # If you use "generic" VMS MAIL, the subject will be passed on the
  736. # command line via a /subject="SUBJECT" qualifier, and inclusion
  737. # of other relevant headers may not be possible.
  738. # If your mailer uses another syntax, some hacking of the mailform()
  739. # mailmsg() and reply_by_mail() functions in LYMail.c, and printfile()
  740. # function in LYPrint.c, may be required.
  741. #
  742. #SYSTEM_MAIL:PMDF SEND
  743. #SYSERM_MAIL_FLAGS:/headers
  744. #
  745. #SYSTEM_MAIL:MAIL
  746. #SYSTEM_MAIL_FLAGS:
  747.  
  748. # Unix:
  749. #======
  750. # The mail path and flags normally are defined for sendmail (or submit
  751. # with MMDF) in userdefs.h.  You can change them here, but should first
  752. # read the zillions of CERT advisories about security problems with Unix
  753. # mailers.
  754. #
  755. #SYSTEM_MAIL:/usr/mmdf/bin/submit
  756. #SYSTEM_MAIL_FLAGS:-mlruxto,cc\*
  757. #
  758. #SYSTEM_MAIL:/usr/sbin/sendmail
  759. #SYSTEM_MAIL_FLAGS:-t -oi
  760. #
  761. #SYSTEM_MAIL:/usr/lib/sendmail
  762. #SYSTEM_MAIL_FLAGS:-t -oi
  763.  
  764. # VMS ONLY:
  765. #==========
  766. # MAIL_ADRS is defined in userdefs.h and normally is structured for PMDF's
  767. # IN%"INTERNET_ADDRESS" scheme.  The %s is replaced with the address given
  768. # by the user.  If you are using a different Internet mail transport, change
  769. # the IN appropriately (e.g., to SMTP, MX, or WINS).
  770. #
  771. #MAIL_ADRS:"IN%%""%s"""
  772.  
  773. # VMS ONLY:
  774. #==========
  775. # If USE_FIXED_RECORDS is set to TRUE here or in userdefs.h, Lynx will
  776. # convert 'd'ownloaded binary files to FIXED 512 record format before saving
  777. # them to disk or acting on a DOWNLOADER option.  If set to FALSE, the
  778. # headers of such files will indicate that they are Stream_LF with Implied
  779. # Carriage Control, which is incorrect, and can cause downloading software
  780. # to get confused and unhappy.  If you do set it FALSE, you can use the
  781. # FIXED512.COM command file, which is included in this distribution, to do
  782. # the conversion externally.
  783. #
  784. #USE_FIXED_RECORDS:TRUE
  785.  
  786. # VI_KEYS can be turned on by the user in the options
  787. # screen or the .lynxrc file.  This is just the default.
  788. #
  789. VI_KEYS_ALWAYS_ON:FALSE
  790.  
  791. # EMACS_KEYS can be turned on by the user in the options
  792. # screen or the .lynxrc file.  This is just the default.
  793. #
  794. EMACS_KEYS_ALWAYS_ON:FALSE
  795.  
  796. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  797. # has numbers that work like arrows or else numbered links.
  798. # DEFAULT KEYPAD MODE may be set to TRUE for using numbers
  799. # as arrows as the default, or FALSE for using numbered links
  800. # as the default (LINKS_AND_FORM_FIELDS_ARE_NUMBERED cannot
  801. # currently be set by this option.).
  802. #
  803. DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  804.  
  805. # The default search type.
  806. # This is a default that can be overridden by the user!
  807. #
  808. CASE_SENSITIVE_ALWAYS_ON:FALSE
  809.  
  810. # DEFAULT_BOOKMARK_FILE is a default filename for use as a personal
  811. # bookmark file.  It will reference a file from the user's home directory.
  812. # NOTE that a file ending in .html or other suffix mapped to text/html
  813. # should be used to ensure it's treatment as HTML.  The built-in default
  814. # is lynx_bookmarks.html.  On both Unix and VMS, if a subdirectory off of
  815. # the HOME directory is desired, the path should begin with "./" (e.g.,
  816. # ./BM/lynx_bookmarks.html), but the subdirectory must already exist.
  817. # Lynx will create the bookmark file, if it does not already exist, on
  818. # the first ADD_BOOKMARK attempt if the HOME directory is indicated
  819. # (i.e., if the definition is just filename.html without any slashes),
  820. # but requires a pre-existing subdirectory to create the file there.
  821. # The user can re-define the default bookmark file, as well as a set
  822. # of sub-bookmark files if multiple bookmark file support is enabled
  823. # (see below), via the 'o'ptions menu, and can save those definitions
  824. # in the .lynxrc file.
  825. #
  826. DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  827.  
  828. # If MULTI_BOOKMARK_SUPPORT is set TRUE, and BLOCK_MULTI_BOOKMARKS (see
  829. # below) is FALSE, and sub-bookmarks exist, all bookmark operations will
  830. # first prompt the user to select an active sub-bookmark file or the
  831. # default bookmark file.  FALSE is the default so that one (the default)
  832. # bookmark file will be available initially.  The definition here will
  833. # override that in userdefs.h.  The user can turn on multiple bookmark
  834. # support via the 'o'ptions menu, and can save that choice as the startup
  835. # default via the .lynxrc file.  When on, the setting can be STANDARD or
  836. # ADVANCED.  If support is set to the latter, and the user mode also is
  837. # ADVANCED, the VIEW_BOOKMARK command will invoke a statusline prompt at
  838. # which the user can enter the letter token (A - Z) of the desired bookmark,
  839. # or '=' to get a menu of available bookmark files.  The menu always is
  840. # presented in NOVICE or INTERMEDIATE mode, or if the support is set to
  841. # STANDARD.  No prompting or menu display occurs if only one (the startup
  842. # default) bookmark file has been defined (define additional ones via the
  843. # 'o'ptions menu).  The startup default, however set, can be overridden on
  844. # the command line via the -restrictions=multibook or the -anonymous or
  845. # -validate switches.
  846. #
  847. #MULTI_BOOKMARK_SUPPORT:FALSE
  848.  
  849. # If BLOCK_MULTI_BOOKMARKS is set TRUE, multiple bookmark support will
  850. # be forced off, and cannot to toggled on via the 'o'ptions menu.  The
  851. # compilation setting is normally FALSE, and can be overridden here.
  852. # It can also be set via the -restrictions=multibook or the -anonymous
  853. # or -validate command line switches.
  854. #
  855. #BLOCK_MULTI_BOOKMARKS:FALSE
  856.  
  857. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  858. # NOVICE  shows a three line help message at the bottom of the screen
  859. # INTERMEDIATE  shows normal amount of help (one line)
  860. # ADVANCED  help is replaced by the URL of the current link
  861. #
  862. DEFAULT_USER_MODE:NOVICE
  863.  
  864. # DEFAULT_EDITOR sets the default editor for Lynx users.
  865. # If an editor is defined then the user may edit local documents
  866. # using that editor.  The editor will also be used for sending
  867. # mail messages.  If no editor is defined here or by the user
  868. # the user will not be able to edit local documents and a primitive
  869. # line oriented mail input mode will be used.
  870. # NOTE: Do not define an editor unless you know that every user will
  871. #       know how to use it.  Most users do not enjoy getting stuck in
  872. #       an unknown editor that they can't get out of.  Users can
  873. #       easily define an editor of their own using the options menu,
  874. #       so it is not always desirable to set the DEFAULT_EDITOR.
  875. #
  876. #DEFAULT_EDITOR:
  877.  
  878. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR except that it can't be
  879. # changed.
  880. #
  881. #SYSTEM_EDITOR:
  882.  
  883. # Proxy variables
  884. # Lynx version 2.2 and beyond supports the use of proxy servers that can
  885. # act as firewall gateways and caching servers.  They are preferable to
  886. # the older gateway servers.  Each protocol used by Lynx can be mapped
  887. # separately using PROTOCOL_proxy environment variables (see INSTALLATION).
  888. # If you have not set them externally, you can set them at run time via
  889. # this configuration file.  They will not override external settings.
  890. # The no_proxy variable can be a comma-separated list of hosts which should
  891. # not be proxied, or an asterisk to override all proxy variables.
  892. # Note that on VMS they are set as process logicals rather than symbols,
  893. # to preserve lowercasing, and will outlive the Lynx image.
  894. #
  895. #http_proxy:http://some.server.dom:port/
  896. #https_proxy:http://some.server.dom:port/
  897. #ftp_proxy:http://some.server.dom:port/
  898. #gopher_proxy:http://some.server.dom:port/
  899. #news_proxy:http://some.server.dom:port/
  900. #newspost_proxy:http://some.server.dom:port/
  901. #newsreply_proxy:http://some.server.dom:port/
  902. #snews_proxy:http://some.server.dom:port/
  903. #snewspost_proxy:http://some.server.dom:port/
  904. #snewsreply_proxy:http://some.server.dom:port/
  905. #nntp_proxy:http://some.server.dom:port/
  906. #wais_proxy:http://some.server.dom:port/
  907. #finger_proxy:http://some.server.dom:port/
  908. #cso_proxy:http://some.server.dom:port/
  909. #no_proxy:host.domain.dom
  910.  
  911. # Printer definitions
  912. # any number of printers may be defined by using multiple
  913. # printer definition sets.  Printers may be any program
  914. # that could be useful to your users, they do not necessarily
  915. # have to print.
  916. #
  917. # the definition of a printer is of the form
  918. # PRINTER:<printer name>:<printer command>:<printer option>:<lines/page>
  919. #
  920. #    <printer name> is the name that the user will see.
  921. # <printer command> is the command line arguments for printing a file.
  922. #            The %s will be replaced with the file being printed.
  923. #                   If a second %s is given the second %s will be replaced by
  924. #                   a suggested filename that is prettier than the tempfile
  925. #                   name given in the first %s.  This does not remove the first
  926. #                   %s from the command line in any manner.  If you need to
  927. #                   use only the second %s file name in your printer command,
  928. #                   then I suggest creating a script which will first copy the
  929. #                   first %s file name to the second %s file name, and then
  930. #                   executing your print command with the second %s file name.
  931. #  <printer option> specifies whether the printer should be disabled for
  932. #            users without printing options.  The options are
  933. #            TRUE or FALSE;
  934. #            TRUE means the printer will always be ENABLED
  935. #             regardless of printer or anonymous settings
  936. #            FALSE means the printer will be DISABLED when
  937. #              the -noprint option is on, or for anonymous
  938. #              users which are not allowed to print
  939. #
  940. #  <lines/page>    is an optional parameter for indicating the number of
  941. #           lines per page for the printer.  Defaults to 66.  Used
  942. #           for computing the approximate number of pages and
  943. #           generating a statusline query of whether to proceed if
  944. #           the document is longer than 4 printer pages.  Uses the
  945. #           current screen length for the computation when the
  946. #           built in "print to screen" option is selected.
  947. #
  948. #  You must put the whole definition on one line.
  949. #
  950. #  If you must use a colon, precede it with a backslash!
  951. #
  952. #  If you have a very busy VMS print queue and Lynx deletes the temporary
  953. #  files before they have been queued, use the VMSPrint.com included in
  954. #  the distribution.
  955. #
  956. #    examples
  957. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  958. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  959. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  960. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  961. #  Check out the lpansi program in utils/ for printing on vt100
  962. #  attached printers.
  963. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  964. #  Don't use the following printer on anonymous accounts since
  965. #  allowing shell input is very dangerous.
  966. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  967. #  Pass to a sophisticated file viewer (sources for most are available in
  968. #  ftp://space.mit.edu/pub/davis/most).  The most -k switch suppresses the
  969. #  invocation of hexadecimal display mode if 8-bit or control characters
  970. #  are present.  The +s switch invokes secure mode.
  971. #PRINTER:Use Most to view:most -k +s %s:TRUE:23
  972.  
  973. # Downloader definitions
  974. # any number of downloaders may be defined by using multiple
  975. # downloader definition sets.  Downloaders may be any program
  976. # that could be useful to your users, they do not necessarily
  977. # have to be a download protocol program. The most common use
  978. # of a downloader is to use Ckermit or some other transfer
  979. # program so that the user may easily transfer files back to
  980. # their local machine over a serial link.
  981. #
  982. # the definition of a downloader is of the form
  983. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  984. #
  985. #    <downloader name> is the name that the user will see.
  986. # <downloader command> is the command line arguments for downloading a file.
  987. #                      The %s will be replaced with the file being downloaded.
  988. #                      If a second %s is given the second %s will be replaced
  989. #                      by a suggested filename that is nicer than the tempfile
  990. #                      name given in the first %s.  This does not replace the
  991. #                      first %s in the command line.  If your command needs
  992. #                      the suggest file name on the command line only, then
  993. #                      I suggest creating a script that will first copy the
  994. #                      first %s file name to the second %s file name, and then
  995. #                      execute the downloading command using the second %s file
  996. #                      name (e.g., 'sz' needs such a script interposed).
  997. #  <downloader option> specifies whether the downloader should be disabled for
  998. #                      anonymous users.  The options are
  999. #                      TRUE or FALSE;
  1000. #                      TRUE means the downloader will always be ENABLED
  1001. #                           regardless of the anonymous settings (however,
  1002. #                all downloading is disabled by -validate).
  1003. #                      FALSE means the downloader will be DISABLED when
  1004. #                            the user is anonymous.
  1005. #
  1006. #  You must put the whole definition on one line.
  1007. #
  1008. #  If you must use a colon, precede it with a backslash!
  1009. #
  1010. #    examples
  1011. #DOWNLOADER:Use Most to view:most +s %s:TRUE
  1012. #  (don't use most's -k switch, so that binaries will invoke hexadecimal mode)
  1013. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s -a %s:TRUE
  1014. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  1015. #DOWNLOADER:Use Zmodem to download to the local terminal:set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:TRUE
  1016. #
  1017. # Note for Zmodem: The first variant gives wrong filenames ("sz" doesn't support
  1018. # a suggested filename parameter, sorry). The second returns correct filenames
  1019. # but may conflict with very strong security or permissions restrictions
  1020. # (it uses the script to make a subdirectory in /tmp, see below).
  1021. #    (example script in lieu of :sz %s: for offering a suggested filename)
  1022. #  :set %s %s;td=/tmp/Lsz$$;mkdir $td;ln -s $1 $td/"$2";sz $td/"$2";rm -r $td:
  1023. #
  1024.  
  1025. # Unix ONLY:
  1026. #===========
  1027. # Uploader definitions (implemented only with Unix DIRED_SUPPORT;
  1028. #                       see the Makefile in the top directory,
  1029. #            and the header of ./src/LYUpload.c)
  1030. # any number of uploaders may be defined by using multiple
  1031. # uploader definition sets.  Uploaders may be any program
  1032. # that could be useful to your users, they do not necessarily
  1033. # have to be an upload protocol program. The most common use
  1034. # of an uploader is to use Ckermit or some other transfer
  1035. # program so that the user may easily transfer files from
  1036. # their local machine over a serial link.
  1037. #
  1038. # the definition of an uploader is of the same form as a downloader
  1039. # UPLOADER:<uploadername>:<uploader command>:<uploader option>
  1040. #
  1041. #  You must put the whole definition on one line.
  1042. #
  1043. #  If you must use a colon, precede it with a backslash!
  1044. #
  1045. #  If you do not include a %s, you will not be prompted for an
  1046. #  output filename.
  1047. #
  1048. #    example
  1049. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  1050.  
  1051. # If NO_DOT_FILES is TRUE (normal default via userdefs.h), the user will not
  1052. # be allowed to specify files beginning with a dot in reply to output filename
  1053. # prompts, and files beginning with a dot (e.g., file://localhost/path/.lynxrc)
  1054. # will not be included in the directory browser's listings.  If set FALSE, you
  1055. # can force it to be treated as TRUE via -restrictions=dotfiles.  If set FALSE
  1056. # and not forced TRUE, the user can regulate it via the 'o'ptions menu (and
  1057. # may save the preference in the RC file).
  1058. #
  1059. #NO_DOT_FILES:TRUE
  1060.  
  1061. # If NO_FROM_HEADER is set FALSE, From headers will be sent in transmissions
  1062. # to http or https servers if the personal_mail_address has been defined via
  1063. # the 'o'ptions menu.  The compilation default is TRUE (no From header is
  1064. # sent) and the default can be changed here.  The default can be toggled at
  1065. # run time via the -from switch.  Note that transmissions of From headers
  1066. # have become widely considered to create an invasion of privacy risk.
  1067. #
  1068. #NO_FROM_HEADER:TRUE
  1069.  
  1070. # If NO_REFERER_HEADER is TRUE, Referer headers never will be sent in
  1071. # transmissions to servers.  Lynx normally sends the URL of the document
  1072. # from which the link was derived, but not for startfile URLs, 'g'oto
  1073. # URLs, 'j'ump shortcuts, bookmark file links, history list links, or
  1074. # URLs that include the content from form submissions with method GET.
  1075. # If left FALSE here, it can be set TRUE at run time via the -noreferer
  1076. # switch.
  1077. #
  1078. #NO_REFERER_HEADER:FALSE
  1079.  
  1080. # If NO_FILE_REFERER is TRUE, Referer headers never will be sent in
  1081. # transmissions to servers for links or actions derived from documents
  1082. # or forms with file URLs.  This would ensure that paths associated
  1083. # with the local file system are never indicated to servers, even if
  1084. # NO_REFERER_HEADER is FALSE.  If left FALSE here, it can be set TRUE
  1085. # at run time via the -nofilereferer switch.
  1086. #
  1087. #NO_FILE_REFERER:FALSE
  1088.  
  1089. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  1090. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  1091. # strings will be links for the resolved SRC rather than just text.  For
  1092. # ISMAP or other graphic links, the ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  1093. # strings will have '-' and a link labeled "[IMAGE]" for the resolved SRC
  1094. # appended.
  1095. #
  1096. # The default defined here will override that in userdefs.h, and the user
  1097. # can use LYK_IMAGE_TOGGLE to toggle the feature on or off at run time.
  1098. #
  1099. # The default also can be toggled via an "-image_links" command line switch.
  1100. #
  1101. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  1102.  
  1103. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which do not
  1104. # specify an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  1105. # i.e., they'll be treated as having ALT="".  If MAKE_LINKS_FOR_ALL_IMAGES
  1106. # is defined or toggled to TRUE, however, the pseudo-ALTs will be created
  1107. # for inlines, so that they can be used as links to the SRCs.
  1108. #
  1109. # The default defined here will override that in userdefs.h, and the user
  1110. # can use LYK_INLINE_TOGGLE to toggle the feature on or off at run time.
  1111. #
  1112. # The default also can be toggled via a "-pseudo_inlines" command line
  1113. # switch.
  1114. #
  1115. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  1116.  
  1117. # If SUBSTITUTE_UNDERSCORES is TRUE, the _underline_ format will be used
  1118. # for emphasis tags in dumps.
  1119. #
  1120. # The default defined here will override that in userdefs.h, and the user
  1121. # can toggle the default via a "-underscore" command line switch.
  1122. #
  1123. #SUBSTITUTE_UNDERSCORES:FALSE
  1124.  
  1125. # If QUIT_DEFAULT_YES is TRUE then when the QUIT command is entered, any
  1126. # response other than n or N will confirm.  It should be FALSE if you
  1127. # prefer the more conservative action of requiring an explicit Y or y to
  1128. # confirm.  The default defined here will override that in userdefs.h.
  1129. #
  1130. #QUIT_DEFAULT_YES:TRUE
  1131.  
  1132. # If HISTORICAL_COMMENTS is TRUE, Lynx will revert to the "Historical"
  1133. # behavior of treating any '>' as a terminator for comments, instead of
  1134. # seeking a valid '-->' terminator (note that white space can be present
  1135. # between the '--' and '>' in valid terminators).  The compilation default
  1136. # is FALSE.
  1137. #
  1138. # The compilation default, or default defined here, can be toggled via a
  1139. # "-historical" command line switch, and via the LYK_HISTORICAL command key.
  1140. #
  1141. #HISTORICAL_COMMENTS:FALSE
  1142.  
  1143. # If MINIMAL_COMMENTS is TRUE, Lynx will not use Valid comment parsing
  1144. # of '--' pairs as serial comments within an overall comment element,
  1145. # and instead will seek only a '-->' terminator for the overall comment
  1146. # element.  This emulates the Netscape v2.0 comment parsing bug, and
  1147. # will help Lynx cope with the use of dashes as "decorations", which
  1148. # consequently has become common in so-called "Enhanced for Netscape"
  1149. # pages.  Note that setting Historical comments on will override the
  1150. # Minimal or Valid setting.
  1151. #
  1152. # The compilation default for MINIMAL_COMMENTS is FALSE, but we'll
  1153. # set it TRUE here, until Netscape gets its comment parsing right,
  1154. # and "decorative" dashes cease to be so common.
  1155. #
  1156. # The compilation default, or default defined here, can be toggled via a
  1157. # "-minimal" command line switch, and via the LYK_MINIMAL command key.
  1158. #
  1159. MINIMAL_COMMENTS:TRUE
  1160.  
  1161. # If SOFT_DQUOTES is TRUE, Lynx will emulate the invalid behavior of
  1162. # treating '>' as a co-terminator of a double-quoted attribute value
  1163. # and the tag which contains it, as was done in old versions of Netscape
  1164. # and Mosaic.  The compilation default is FALSE.
  1165. #
  1166. # The compilation default, or default defined here, can be toggled via
  1167. # a "-soft_dquotes" command line switch.
  1168. #
  1169. #SOFT_DQUOTES:FALSE
  1170.  
  1171. # If STRIP_DOTDOT_URLS is TRUE, Lynx emulates the invalid behavior of many
  1172. # browsers to strip a leading "../" segment from relative URLs in HTML
  1173. # documents with a http or https base URL, if this would otherwise lead to
  1174. # an absolute URLs with those characters still in it.  Such URLs are normally
  1175. # erroneous and not what is intended by page authors.  Lynx will issue
  1176. # a warning message when this occurs.
  1177. #
  1178. # If STRIP_DOTDOT_URLS is FALSE, Lynx will use those URLs for requests
  1179. # without taking any special actions or issuing Warnings, in most cases
  1180. # this will result in an error response from the server.
  1181. #
  1182. # Note that Lynx never tries to fix similar URLs for protocols other than
  1183. # http and https, since they are less common and may actually be valid in
  1184. # some cases.
  1185. #
  1186. #STRIP_DOTDOT_URLS:TRUE
  1187.  
  1188. # If ENABLE_SCROLLBACK is TRUE, Lynx will clear the entire screen before
  1189. # displaying each new screenful of text.  Though less efficient for normal
  1190. # use, this allows programs that maintain a buffer of previously-displayed
  1191. # text to recognize the continuity of what has been displayed, so that
  1192. # previous screenfuls can be reviewed by whatever method the program uses
  1193. # to scroll back through previous text.  For example, the PC comm program
  1194. # QModem has a key that can be pressed to scroll back; if ENABLE_SCROLLBACK
  1195. # is TRUE, pressing the scrollback key will access previous screenfuls which
  1196. # will have been stored on the local PC and will therefore be displayed
  1197. # instantaneously, instead of needing to be retransmitted by Lynx at the
  1198. # speed of the comm connection (but Lynx will not know about the change,
  1199. # so you must restore the last screen before resuming with Lynx commands).
  1200. #
  1201. # The compilation default is FALSE (if REVERSE_CLEAR_SCREEN_PROBLEM was not
  1202. # defined in the Unix Makefile to invoke this behavior as a workaround for
  1203. # some poor curses implementations).
  1204. #
  1205. # The default compilation or configuration setting can be toggled via an
  1206. # "-enable_scrollback" command line switch.
  1207. #
  1208. #ENABLE_SCROLLBACK:FALSE
  1209.  
  1210. # If SCAN_FOR_BURIED_NEWS_REFS is set to TRUE, Lynx will scan the bodies
  1211. # of news articles for buried article and URL references and convert them
  1212. # to links.  The compilation default is TRUE, but some email addresses
  1213. # enclosed in angle brackets ("<user@address>") might be converted to false
  1214. # news links, and uuencoded messages might be corrupted.  The conversion is
  1215. # not done when the display is toggled to source or when 'd'ownloading, so
  1216. # uuencoded articles can be saved intact regardless of these settings.
  1217. #
  1218. # The default setting can be toggled via a "-buried_news" command line
  1219. # switch.
  1220. #
  1221. #SCAN_FOR_BURIED_NEWS_REFS:TRUE
  1222.  
  1223. # If PREPEND_BASE_TO_SOURCE is set to FALSE, Lynx will not prepend a
  1224. # Request URL comment and BASE element to text/html source files when
  1225. # they are retrieved for 'd'ownloading or passed to 'p'rint functions.
  1226. # The compilation default is TRUE.  Note that this prepending is not
  1227. # done for -source dumps, unless the -base switch also was included on
  1228. # the command line, and the latter switch overrides the setting of the
  1229. # PREPEND_BASE_TO_SOURCE configuration variable.
  1230. #
  1231. #PREPEND_BASE_TO_SOURCE:TRUE
  1232.  
  1233. # MIME types and viewers!
  1234. #
  1235. # file extensions may be assigned to MIME types using
  1236. # the SUFFIX: definition.
  1237. #
  1238. # The SUFFIX definition takes the form of:
  1239. #    SUFFIX:<file extension>:<mime type>
  1240. # for instance the following definition maps the
  1241. # extension ".gif" to the mime type "image/gif"
  1242. #    SUFFIX:.gif:image/gif
  1243. #
  1244. # file suffixes are case INsensitive!
  1245. #
  1246. # The suffix definitions listed here in the default lynx.cfg file are
  1247. # among those established via src/HTInit.c.  You can change any of the
  1248. # defaults by editing that file, or via the global or personal mime.types
  1249. # files at run time.  They will be overridden if you assign them here.
  1250. #
  1251. #SUFFIX:.ps:application/postscript
  1252. #SUFFIX:.eps:application/postscript
  1253. #SUFFIX:.ai:application/postscript
  1254. #SUFFIX:.rtf:application/x-rtf
  1255. #SUFFIX:.snd:audio/basic
  1256. #SUFFIX:.gif:image/gif
  1257. #SUFFIX:.rgb:image/x-rgb
  1258. #SUFFIX:.pict:image/x-pict
  1259. #SUFFIX:.xbm:image/x-xbitmap
  1260. #SUFFIX:.tiff:image/x-tiff
  1261. #SUFFIX:.jpg:image/jpeg
  1262. #SUFFIX:.jpeg:image/jpeg
  1263. #SUFFIX:.mpg:video/mpeg
  1264. #SUFFIX:.mpeg:video/mpeg
  1265. #SUFFIX:.mov:video/quicktime
  1266. #SUFFIX:.hqx:application/octet-stream
  1267. #SUFFIX:.bin:application/octet-stream
  1268. #SUFFIX:.exe:application/octet-stream
  1269. #SUFFIX:.tar:application/octet-stream
  1270. #SUFFIX:.Z:application/octet-stream
  1271. #SUFFIX:.gz:application/octet-stream
  1272. #SUFFIX:.zip:application/octet-stream
  1273. #SUFFIX:.lzh:application/octet-stream
  1274. #SUFFIX:.lha:application/octet-stream
  1275. #SUFFIX:.dms:application/octet-stream
  1276.  
  1277. # The global and personal EXTENSION_MAP files allow you to assign extensions
  1278. # to MIME types which will override any of the suffix maps in this (lynx.cfg)
  1279. # configuration file, or in src/HTInit.c.  See the example mime.types file
  1280. # in the samples subdirectory.
  1281. #
  1282. #     Unix:
  1283. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  1284. GLOBAL_EXTENSION_MAP:/usr/freeware/lib/lynx-2.8/mime.types
  1285. #     VMS:
  1286. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  1287. #
  1288. #    Unix (sought in user's home directory):
  1289. PERSONAL_EXTENSION_MAP:.mime.types
  1290. #    VMS (sought in user's sys$login directory):
  1291. #PERSONAL_EXTENSION_MAP:mime.types
  1292.  
  1293. # VMS:
  1294. # ====
  1295. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c
  1296. # for viewing image content types when the DECW$DISPLAY logical
  1297. # is set.  Make it the foreign command for your system's X image
  1298. # viewer (commonly, "xv").  Make it "exit" or something like that
  1299. # if you don't have one.  It can be anything that will handle GIF,
  1300. # TIFF and other popular image formats.  Freeware ports of xv for
  1301. # VMS are available in the ftp://ftp.wku.edu/vms/unsupported and
  1302. # http://www.openvms.digital.com/cd/XV310A/ subdirectories.  You
  1303. # must also have a "%s" for the filename.  The default is defined
  1304. # in userdefs.h and can be overridden here, or via the global or
  1305. # personal mailcap files (see below).
  1306. #
  1307. #XLOADIMAGE_COMMAND:xv %s
  1308.  
  1309. # Unix:
  1310. # =====
  1311. # XLOADIMAGE_COMMAND will be used as a default in src/HTInit.c for
  1312. # viewing image content types when the DISPLAY environment variable
  1313. # is set.  Make it the full path and name of the xli (also know as
  1314. # xloadimage or xview) command, or other image viewer.  Put 'echo' or
  1315. # something like it here if you don't have a suitable viewer.  It can
  1316. # be anything that will handle GIF, TIFF and other popular image formats
  1317. # (xli does).  The freeware distribution of xli is available in the
  1318. # ftp://ftp.x.org/contrib subdirectory.  The shareware, xv, also is
  1319. # suitable.  You must also have a "%s" for the filename; "&" for
  1320. # background is optional.  The default is defined in userdefs.h and can be
  1321. # overridden here, or via the global or personal mailcap files (see below).
  1322. # Note that open is used as the default for NeXT, instead of the
  1323. # XLOADIMAGE_COMMAND definition.
  1324. # If you use xli, you may want to add the -quiet flag.
  1325. #
  1326. #XLOADIMAGE_COMMAND:xli %s &
  1327.  
  1328. # MIME types may be assigned to external viewers using
  1329. # the VIEWER definition.
  1330. #
  1331. # Note: if you do not define a viewer to a new MIME type
  1332. #       that you assigned above then it will be saved to
  1333. #       disk by default.
  1334. #
  1335. # The VIEWER definition takes the form of:
  1336. #    VIEWER:<mime type>:<viewer command>[:environment]
  1337. #      where -mime type is the MIME content type of the file
  1338. #         -viewer command is a system command that can be
  1339. #             used to display the file where %s is replaced
  1340. #             within the command with the physical filename
  1341. #             (e.g. "ghostview %s" becomes "ghostview /tmp/temppsfile")
  1342. #            -environment is optional.  The only valid keywords
  1343. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS
  1344. #             environment is specified then the viewer will only be
  1345. #             defined when the user has the environment variable DISPLAY
  1346. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  1347. #             is specified the specified viewer will only be defined when the
  1348. #             user DOES NOT have the environment variable DISPLAY defined.
  1349. #  examples:
  1350. #        VIEWER:image/gif:xli %s:XWINDOWS
  1351. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  1352. #               VIEWER:application/start-elm:elm
  1353. #
  1354. # You must put the whole definition on one line.
  1355. #
  1356. # If you must use a colon in the viewer command, precede it with a backslash!
  1357. #
  1358. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  1359. # file are among those established via src/HTInit.c.  For the image types,
  1360. # HTInit.c uses the XLOADIMAGE_COMMAND definition in userdefs.h or above
  1361. # (open is used for NeXT).  You can change any of these defaults via the
  1362. # global or personal mailcap files at run time.  They will be overridden
  1363. # if you assign them here.
  1364. #
  1365. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  1366. #VIEWER:image/gif:xli %s&:XWINDOWS
  1367. #VIEWER:image/x-xbm:xli %s&:XWINDOWS
  1368. #VIEWER:image/x-rgb:xli %s&:XWINDOWS
  1369. #VIEWER:image/x-tiff:xli %s&:XWINDOWS
  1370. #VIEWER:image/jpeg:xli %s&:XWINDOWS
  1371. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  1372.  
  1373. # The global and personal MAILCAP files allow you to specify external
  1374. # viewers to be spawned when Lynx encounters different MIME types, which
  1375. # will override any of the suffix maps in this (lynx.cfg) configuration
  1376. # file, or in src/HTInit.c.  See http://www.internic.net/rfc/rfc1524.txt
  1377. # and the example mailcap file in the samples subdirectory.
  1378. #
  1379. #    Unix:
  1380. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  1381. GLOBAL_MAILCAP:/usr/freeware/lib/lynx-2.8/mailcap
  1382. #    VMS:
  1383. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  1384. #
  1385. #     Sought in user's home (Unix) or sys$login (VMS) directory.
  1386. #PERSONAL_MAILCAP:.mailcap
  1387.  
  1388. # Key remapping definitions!
  1389. #
  1390. # You may redefine the keymapping of any function in Lynx by
  1391. # using the KEYMAP variable.  The form of KEYMAP is:
  1392. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  1393. #
  1394. # You must map upper and lowercase keys separately.
  1395. #
  1396. # A representative list of functions mapped to their default keys is
  1397. # provided below.  All of the mappings are commented out by default
  1398. # since they just map to the default mappings, except for TOGGLE_HELP
  1399. # (see below).  See LYKeymap.c for the complete key mapping.  Use the
  1400. # 'K'eymap command when running Lynx for a list of the current mappings.
  1401. #
  1402. # Special keys map to:
  1403. #         Up Arrow: 0x100
  1404. #       Down Arrow: 0x101
  1405. #      Right Arrow: 0x102
  1406. #       Left Arrow: 0x103
  1407. #        Page Down: 0x104
  1408. #          Page Up: 0x105
  1409. #      Keypad Home: 0x106
  1410. #       Keypad End: 0x107
  1411. #   Function key 1: 0x108
  1412. # vt100   Help Key: 0x108
  1413. # vt100     Do Key: 0x109
  1414. # vt100   Find Key: 0x10A
  1415. # vt100 Select Key: 0x10B
  1416. # vt100 Insert Key: 0x10C
  1417. # vt100 Remove Key: 0x10D
  1418. #  (0x00) NULL KEY: 0x10E (DO_NOTHING)
  1419. #
  1420.  
  1421. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source)
  1422. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  1423. #KEYMAP:q:QUIT        # Ask the user to quit
  1424. #KEYMAP:Q:ABORT        # Quit without verification
  1425. #KEYMAP:0x20:NEXT_PAGE    # Move down to next page
  1426. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  1427. #KEYMAP:^P:UP_TWO    # Move display up two lines
  1428. #KEYMAP:0x10C:UP_TWO    # Function key Insert - Move display up two lines
  1429. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  1430. #KEYMAP:0x10D:DOWN_TWO    # Function key Remove - Move display down two lines
  1431. #KEYMAP:(:UP_HALF    # Move display up half a page
  1432. #KEYMAP:):DOWN_HALF    # Move display down half a page
  1433. #KEYMAP:^W:REFRESH    # Refresh the screen
  1434. #KEYMAP:^A:HOME        # Go to top of current document
  1435. #KEYMAP:0x106:HOME    # Keypad Home - Go to top of current document
  1436. #KEYMAP:0x10A:HOME    # Function key Find - Go to top of current document
  1437. #KEYMAP:^E:END        # Go to bottom of current document
  1438. #KEYMAP:0x107:END    # Keypad End - Go to bottom of current document
  1439. #KEYMAP:0x10B:END    # Function key Select - Go to bottom of current document
  1440. #KEYMAP:0x100:PREV_LINK    # Move to the previous link
  1441. #KEYMAP:0x101:NEXT_LINK    # Move to the next link
  1442. #KEYMAP:<:UP_LINK       # Move to the link above
  1443. #KEYMAP:>:DOWN_LINK    # Move to the link below
  1444. #KEYMAP:0x00:RIGHT_LINK    # Move to the link to the right
  1445. #KEYMAP:0x00:LEFT_LINK    # Move to the link to the left
  1446. #KEYMAP:0x7F:HISTORY    # Display stack of currently-suspended documents
  1447. #KEYMAP:0x08:HISTORY    # Display stack of currently-suspended documents
  1448. #KEYMAP:0x103:PREV_DOC    # Return to the previous document
  1449. #KEYMAP:0x102:ACTIVATE    # Select the current link
  1450. #KEYMAP:0x109:ACTIVATE    # Function key Do - Select the current link
  1451. #KEYMAP:g:GOTO        # Goto a random URL
  1452. #KEYMAP:G:ECGOTO    # Edit the current document's URL and go to it
  1453. #KEYMAP:H:HELP        # Show default help screen
  1454. #KEYMAP:0x108:HELP    # Function key Help - Show default help screen
  1455. #KEYMAP:i:INDEX        # Show default index
  1456. #*** Edit FORM_LINK_SUBMIT_MESSAGE in userdefs.h if you change NOCACHE ***
  1457. #KEYMAP:x:NOCACHE    # Force submission of form or link with no-cache
  1458. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  1459. #KEYMAP:z:INTERRUPT    # Interrupt network transmission
  1460. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  1461. #KEYMAP:o:OPTIONS    # Show the options menu
  1462. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  1463. #KEYMAP:/:WHEREIS    # Find a string within the current document
  1464. #KEYMAP:n:NEXT        # Find next occurence of string within document
  1465. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  1466. #KEYMAP:e:EDIT        # Edit current document
  1467. #KEYMAP:E:ELGOTO    # Edit the current link's URL or ACTION and go to it
  1468. #KEYMAP:=:INFO        # Show info about current document
  1469. #KEYMAP:p:PRINT        # Show print options
  1470. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  1471. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  1472. #KEYMAP:V:VLINKS    # List links visited during the current Lynx session
  1473. #KEYMAP:!:SHELL        # Spawn default shell
  1474. #KEYMAP:d:DOWNLOAD    # Download current link
  1475. #KEYMAP:j:JUMP        # Jump to a predefined target
  1476. #KEYMAP:k:KEYMAP    # Display the current key map
  1477. #KEYMAP:l:LIST        # List the references (links) in the current document
  1478. #KEYMAP:#:TOOLBAR    # Go to the Toolbar or Banner in the current document
  1479. #KEYMAP:^T:TRACE_TOGGLE    # Toggle tracing of browser operations
  1480. #KEYMAP:*:IMAGE_TOGGLE    # Toggle inclusion of links for all images
  1481. #KEYMAP:[:INLINE_TOGGLE    # Toggle pseudo-ALTs for inlines with no ALT string
  1482. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  1483.  
  1484. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  1485. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  1486. # userdefs.h.  Otherwise, it will be NOVICE_LINE_TWO.
  1487. #
  1488. #KEYMAP:O:TOGGLE_HELP    # Show other commands in the novice help menu
  1489.  
  1490. # Alternate jumps files can be defined and mapped to keys here.  If the
  1491. # keys have already been mapped, then those mappings will be replaced,
  1492. # but you should leave at least one key mapped to the default jumps
  1493. # file.  You optionally may include a statusline prompt string for the
  1494. # mapping.  You must map upper and lowercase keys separately (beware of
  1495. # mappings to keys which the user can further remap via the 'o'ptions
  1496. # menu).  The format is:
  1497. #
  1498. #    JUMPFILE:path:key[:prompt]
  1499. #
  1500. # where path should begin with a '/' (i.e., not include file://localhost).
  1501. # Any white space following a prompt string will be trimmed, and a single
  1502. # space will be added by Lynx.
  1503. #
  1504. #JUMPFILE:/Lynx_Dir/ips.html:i:IP or Interest group (? for list):
  1505.  
  1506. # VMS ONLY:
  1507. #==========
  1508. # On VMS, CSwing (an XTree emulation for VTxxx terminals) is intended for
  1509. # use as the Directory/File Manager (sources, objects, or executables are
  1510. # available from ftp://narnia.memst.edu/).  CSWING_PATH should be defined
  1511. # here or in userdefs.h to your foreign command for CSwing, with any
  1512. # regulatory switches you want included.  If not defined, or defined as
  1513. # a zero-length string ("") or "none" (case-insensitive), the support
  1514. # will be disabled.  It will also be disabled if the -nobrowse or
  1515. # -selective switches are used, or if the file_url restriction is set.
  1516. #
  1517. # When enabled, the DIRED_MENU command (normally 'f' or 'F') will invoke
  1518. # CSwing, normally with the current default directory as an argument to
  1519. # position the user on that node of the directory tree.  However, if the
  1520. # current document is a local directory listing, or a local file and not
  1521. # one of the temporary menu or list files, the associated directory will
  1522. # be passed as an argument, to position the user on that node of the tree.
  1523. #
  1524. #CSWING_PATH:swing
  1525.  
  1526. # Unix ONLY:
  1527. #===========
  1528. # LIST_FORMAT defines the display for local files when Lynx has been
  1529. # compiled with LONG_LIST defined in the Makefile.  The default is set
  1530. # in userdefs.h, normally to "ls -l" format, and can be changed here
  1531. # by uncommenting the indicated lines, or adding a definition with a
  1532. # modified parameter list.
  1533. #
  1534. # The percent items in the list are interpreted as follows:
  1535. #
  1536. #    %p    Unix-style permission bits
  1537. #    %l    link count
  1538. #    %o    owner of file
  1539. #    %g    group of file
  1540. #    %d    date of last modification
  1541. #    %a    anchor pointing to file or directory
  1542. #    %A    as above but don't show symbolic links
  1543. #    %k    size of file in Kilobytes
  1544. #    %K    as above but omit size for directories
  1545. #    %s    size of file in bytes
  1546. #
  1547. # Anything between the percent and the letter is passed on to sprintf.
  1548. # A double percent yields a literal percent on output.  Other characters
  1549. # are passed through literally.
  1550. #
  1551. # If you want only the filename:
  1552. #
  1553. #LIST_FORMAT:    %a
  1554. #
  1555. # If you want a brief output:
  1556. #
  1557. #LIST_FORMAT:   %4K %-12.12d %a
  1558. #
  1559. # If you want the Unix "ls -l" format:
  1560. #
  1561. #LIST_FORMAT:    %p %4l %-8.8o %-8.8g %7s %-12.12d %a
  1562.  
  1563. # Unix ONLY:
  1564. #===========
  1565. # DIRED_MENU items are used to compose the F)ull menu list in DIRED mode
  1566. # The behaviour of the default configuration given here is much the same
  1567. # as it was when this menu was hard-coded but these items can now be adjusted
  1568. # to suit local needs.  In particular, many of the LYNXDIRED actions can be
  1569. # replaced with lynxexec, lynxprog and lynxcgi script references.
  1570. #
  1571. # NOTE that defining even one DIRED_MENU line overrides all the built-in
  1572. # definitions, so a complete set must then be defined here.
  1573. #
  1574. # Each line consists of the following fields:
  1575. #
  1576. #    DIRED_MENU:type:suffix:link text:extra text:action
  1577. #
  1578. #    type: TAG: list only when one or more files are tagged
  1579. #          FILE: list only when the current selection is a regular file
  1580. #          DIR: list only when the current selection is a directory
  1581. #          LINK: list only when the current selection is a symbolic link
  1582. #
  1583. #    suffix: list only if the current selection ends in this pattern
  1584. #
  1585. #    link text: the displayed text of the link
  1586. #
  1587. #    extra text: the text displayed following the link
  1588. #
  1589. #    action: the URL to be followed upon selection
  1590. #
  1591. #    link text and action are scanned  for % sequences that are expanded
  1592. #    at display time as follows:
  1593. #
  1594. #            %p  path of current selection
  1595. #            %f  filename (last component) of current selection
  1596. #            %t  tagged list (full paths)
  1597. #            %l  list of tagged file names
  1598. #            %d  the current directory
  1599. #
  1600. #DIRED_MENU:::New File:(in current directory):LYNXDIRED://NEW_FILE%d
  1601. #DIRED_MENU:::New Directory:(in current directory):LYNXDIRED://NEW_FOLDER%d
  1602.  
  1603. #DIRED_MENU:FILE::Install:(of current selection):LYNXDIRED://INSTALL_SRC%p
  1604. #DIRED_MENU:DIR::Install:(of current selection):LYNXDIRED://INSTALL_SRC%p
  1605. #DIRED_MENU:FILE::Modify File Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  1606. #DIRED_MENU:DIR::Modify Directory Name:(of current selection):LYNXDIRED://MODIFY_NAME%p
  1607. #DIRED_MENU:LINK::Modify Name:(of selected symbolic link):LYNXDIRED://MODIFY_NAME%p
  1608.  
  1609. # Following depends on OK_PERMIT
  1610. #DIRED_MENU:FILE::Modify File Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  1611. #DIRED_MENU:DIR::Modify Directory Permissions:(of current selection):LYNXDIRED://PERMIT_SRC%p
  1612.  
  1613. #DIRED_MENU:FILE::Change Location:(of selected file):LYNXDIRED://MODIFY_LOCATION%p
  1614. #DIRED_MENU:DIR::Change Location:(of selected directory):LYNXDIRED://MODIFY_LOCATION%p
  1615. #DIRED_MENU:LINK::Change Location:(of selected symbolic link):LYNXDIRED://MODIFY_LOCATION%p
  1616. #DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1617. #DIRED_MENU:DIR::Remove Directory:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1618. #DIRED_MENU:LINK::Remove Symbolic Link:(current selection):LYNXDIRED://REMOVE_SINGLE%p
  1619.  
  1620. # Following depends on OK_UUDECODE and !ARCHIVE_ONLY
  1621. #DIRED_MENU:FILE::UUDecode:(current selection):LYNXDIRED://UUDECODE%p
  1622.  
  1623. # Following depends on OK_TAR and !ARCHIVE_ONLY
  1624. #DIRED_MENU:FILE:.tar.Z:Expand:(current selection):LYNXDIRED://UNTAR_Z%p
  1625.  
  1626. # Following depend on OK_TAR and OK_GZIP and !ARCHIVE_ONLY
  1627. #DIRED_MENU:FILE:.tar.gz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  1628. #DIRED_MENU:FILE:.tgz:Expand:(current selection):LYNXDIRED://UNTAR_GZ%p
  1629.  
  1630. # Following depends on !ARCHIVE_ONLY
  1631. #DIRED_MENU:FILE:.Z:Uncompress:(current selection):LYNXDIRED://DECOMPRESS%p
  1632.  
  1633. # Following depends on OK_GZIP and !ARCHIVE_ONLY
  1634. #DIRED_MENU:FILE:.gz:Uncompress:(current selection):LYNXDIRED://UNGZIP%p
  1635.  
  1636. # Following depends on OK_ZIP and !ARCHIVE_ONLY
  1637. #DIRED_MENU:FILE:.zip:Uncompress:(current selection):LYNXDIRED://UNZIP%p
  1638.  
  1639. # Following depends on OK_TAR and !ARCHIVE_ONLY
  1640. #DIRED_MENU:FILE:.tar:UnTar:(current selection):LYNXDIRED://UNTAR%p
  1641.  
  1642. # Following depends on OK_TAR
  1643. #DIRED_MENU:DIR::Tar:(current selection):LYNXDIRED://TAR%p
  1644.  
  1645. # Following depends on OK_TAR and OK_GZIP
  1646. #DIRED_MENU:DIR::Tar and compress:(using GNU gzip):LYNXDIRED://TAR_GZ%p
  1647.  
  1648. # Following depends on OK_ZIP
  1649. #DIRED_MENU:DIR::Package and compress:(using zip):LYNXDIRED://ZIP%p
  1650.  
  1651. #DIRED_MENU:FILE::Compress:(using Unix compress):LYNXDIRED://COMPRESS%p
  1652.  
  1653. # Following depends on OK_GZIP
  1654. #DIRED_MENU:FILE::Compress:(using gzip):LYNXDIRED://GZIP%p
  1655.  
  1656. # Following depends on OK_ZIP
  1657. #DIRED_MENU:FILE::Compress:(using zip):LYNXDIRED://ZIP%p
  1658.  
  1659. #DIRED_MENU:TAG::Move all tagged items to another location.::LYNXDIRED://MOVE_TAGGED%d
  1660. #DIRED_MENU:TAG::Remove all tagged files and directories.::LYNXDIRED://REMOVE_TAGGED
  1661. #DIRED_MENU:TAG::Untag all tagged items.::LYNXDIRED://CLEAR_TAGGED
  1662.  
  1663. # Unix ONLY:
  1664. #===========
  1665. # If NO_FORCED_CORE_DUMP is set to TRUE, Lynx will not force
  1666. # core dumps via abort() calls on fatal errors or assert()
  1667. # calls to check potentially fatal errors.  The compilation
  1668. # default normally is FALSE, and can be changed here.  The
  1669. # compilation or configuration default can be toggled via
  1670. # the -core command line switch.
  1671. # Note that this setting cannot be used to prevent core dumps
  1672. # with certainty.  If this is important, means provided by the
  1673. # operating system or kernel should be used.
  1674. #
  1675. #NO_FORCED_CORE_DUMP:FALSE
  1676.  
  1677. # COLORS (only available if compiled with SVr4 curses or slang)
  1678. #
  1679. # The line must be of the form:
  1680. # COLOR:Integer:Foreground:Background
  1681. #
  1682. # The Integer value is interpreted as follows:
  1683. #     0 - normal               - normal text
  1684. #     1 - bold                 - hyperlinks, see also BOLD_* options above
  1685. #     2 - reverse              - statusline
  1686. #     3 - bold + reverse        (not used)
  1687. #     4 - underline                   - text emphasis (EM, I, B tags etc.)
  1688. #     5 - bold + underline            - hyperlinks within text emphasis
  1689. #     6 - reverse + underline         - currently selected hyperlink
  1690. #     7 - reverse + underline + bold  - WHEREIS search hits
  1691. #
  1692. # Each Foreground and Background value must be one of:
  1693. #      black              red            green            brown
  1694. #       blue          magenta             cyan        lightgray
  1695. #       gray        brightred      brightgreen           yellow
  1696. # brightblue    brightmagenta       brightcyan            white
  1697. #
  1698. # Uncomment and change any of the compilation defaults.
  1699. #
  1700. #COLOR:0:black:white
  1701. #COLOR:1:blue:white
  1702. #COLOR:2:yellow:blue
  1703. #COLOR:3:green:white
  1704. #COLOR:4:magenta:white
  1705. #COLOR:5:blue:white
  1706. #COLOR:6:red:white
  1707. #COLOR:7:magenta:cyan
  1708.  
  1709. # External application support. This feature allows lynx to pass a given
  1710. # URL to an external program.  It was written for three reasons.
  1711. #
  1712. # 1) To overcome the deficiency    of Lynx_386 not supporting ftp and news.
  1713. #    External programs can be used instead by passing the URL.
  1714. #
  1715. # 2) To allow for background    transfers in multitasking systems.
  1716. #    I use wget for http and ftp transfers via the external command.
  1717. #
  1718. # 3) To allow for new URLs to be used through lynx.
  1719. #      URLs can be made up such as mymail: to spawn desired applications
  1720. #      via the external command.
  1721. #
  1722. # Restrictions can be imposed using -restrictions=externals at the lynx
  1723. # command line.  This will disallow all EXTERNAL lines in lynx.cfg that
  1724. # end in FALSE.  TRUE lines will still function.
  1725. #
  1726. # The lynx.cfg line is as follows:
  1727. #
  1728. # EXTERNAL:<url>:<command> %s:<norestriction>
  1729. #
  1730. # <url> Any given URL.  This can be normal ones like ftp or http or it
  1731. # can be one made up like mymail.
  1732. #
  1733. # <command> The command to run with %s being the URL that will be passed.
  1734. # In Linux I use "wget -q %s &" (no quotes) to spawn a copy of wget for
  1735. # downloading http and ftp files in the background.  In Win95 I use
  1736. # "start ncftp %s" to spawn ncftp in a new window.
  1737. #
  1738. # <norestriction> This complements the -restrictions=externals feature to allow
  1739. # for certain externals to be enabled while restricting others.  TRUE means
  1740. # a command will still function while lynx is restricted.  WB
  1741. #
  1742. # EXTERNAL:ftp:wget %s &:TRUE
  1743.  
  1744. # Raw DOS Key hack
  1745. # If RAW_DOS_KEY_HACK is set to FALSE, it will bypass the DOS key hack.
  1746. # The DOS key hack is only present if compiled with -DRAWDOSKEYHACK
  1747. # The hack is as follows:
  1748. # if (c == 0) c = '/';
  1749. # if (c > 255) {      /* handle raw dos keys */
  1750. #        switch (c)
  1751. #        {
  1752. #            case 464: c = '-'; break;  /* keypad minus*/
  1753. #            case 465: c = '+'; break;  /* keypad plus*/
  1754. #            case 459: c = 13; break;  /* keypad enter*/
  1755. #            case 463: c = '*'; break;  /* keypad * */
  1756. #            case 440: c = 'Q'; break;  /* alt x */
  1757. #            case 265: c = 'H'; break;  /* F1 */
  1758. #            default: break;
  1759. #        }
  1760. #    }
  1761. #
  1762. # RAW_DOS_KEY_HACK:TRUE
  1763.  
  1764.